﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package com.facebook.session {
    import flash.events.*;
    import com.facebook.*;
    import com.facebook.events.*;
    import com.facebook.delegates.*;
    import com.facebook.net.*;
    import com.facebook.commands.users.*;

    public class JSSession extends EventDispatcher implements IFacebookSession {

        public var _api_key:String;
        public var as_swf_name:String;
        protected var _session_key:String;

        public function JSSession(_arg1:String, _arg2:String){
            this._api_key = _arg1;
            this.as_swf_name = _arg2;
        }
        public function get waiting_for_login():Boolean{
            return (true);
        }
        public function get expires():Date{
            return (null);
        }
        public function get rest_url():String{
            return (null);
        }
        public function get session_key():String{
            return (this._session_key);
        }
        public function set rest_url(_arg1:String):void{
        }
        public function refreshSession():void{
        }
        protected function onVerifyLogin(_arg1:FacebookEvent):void{
            if (_arg1.success){
                dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, true));
            } else {
                dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, false));
            };
        }
        public function get uid():String{
            return (null);
        }
        public function get is_sessionless():Boolean{
            return (true);
        }
        public function verifySession():void{
            var _local1:FacebookCall = new GetLoggedInUser();
            _local1.addEventListener(FacebookEvent.COMPLETE, this.onVerifyLogin);
            _local1.session = this;
            var _local2 = _local1;
            _local2.facebook_internal::initialize();
            this.post(_local1);
        }
        public function set secret(_arg1:String):void{
        }
        public function login(_arg1:Boolean):void{
        }
        public function set session_key(_arg1:String):void{
            this._session_key = _arg1;
        }
        public function post(_arg1:FacebookCall):IFacebookCallDelegate{
            return (new JSDelegate(_arg1, this));
        }
        public function get secret():String{
            return (null);
        }
        public function get api_version():String{
            return ("1.0");
        }
        public function get api_key():String{
            return (this._api_key);
        }
        public function get is_connected():Boolean{
            return (true);
        }

    }
}//package com.facebook.session 
